
import FormPhone from '../../../components/FormPhoneFirst'
import { connect } from 'dva'
const FormPhoneFirst = ({
  dispatch,
}) => {
  // 下一步
  const next = () => {
    dispatch({
      type: 'modules/getModules',
      payload: {
        title: '交易密码重置',
        process: 'resetPassword',
        businessId: '1231241203',
        pathname: '',
        tokenId: 'test',
      }
    })
  }
  const FormPhoneData = {
    next,
  }
  return (
    <FormPhone {...FormPhoneData}></FormPhone>
  )
}

export default connect(state => state.reset)(FormPhoneFirst)